package com.tdcoding.chat.entities;

import io.protostuff.Tag;

public class RegionInfo extends BaseInfo {
	private static final long serialVersionUID = 1L;
	@Tag(value=7)
	private long regionId;		//用户ID或群ID
	@Tag(value=8)
	private int proId;		//省地区id
	@Tag(value=9)
	private int cityId;		//市/地区id
	@Tag(value=10)
	private int areaId;	//地区id
	@Tag(value=11)
	private String proName;
	@Tag(value=12)
	private String cityName;
	@Tag(value=13)
	private String areaName;
	
	@Tag(value=14)
	private double  radius;	//半径
	@Tag(value=15)
	private double  latitude ;//纬度
	@Tag(value=16)
	private double  longitude;//经度
	
	public int getProId() {
		return proId;
	}
	public void setProId(int proId) {
		this.proId = proId;
	}
	public int getCityId() {
		return cityId;
	}
	public void setCityId(int cityId) {
		this.cityId = cityId;
	}
	public int getAreaId() {
		return areaId;
	}
	public void setAreaId(int areaId) {
		this.areaId = areaId;
	}
	public String getProName() {
		return proName;
	}
	public void setProName(String proName) {
		this.proName = proName;
	}
	public String getCityName() {
		return cityName;
	}
	public void setCityName(String cityName) {
		this.cityName = cityName;
	}
	public String getAreaName() {
		return areaName;
	}
	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}
	
	public double getRadius() {
		return radius;
	}
	public void setRadius(double radius) {
		this.radius = radius;
	}
	public double getLatitude() {
		return latitude;
	}
	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}
	public double getLongitude() {
		return longitude;
	}
	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}
	
	@Override
	public String toString() {
		return "RegionInfo [proId=" + proId + ", cityId=" + cityId + ", areaId=" + areaId + ", proName=" + proName
				+ ", cityName=" + cityName + ", areaName=" + areaName + ", radius=" + radius + ", latitude=" + latitude
				+ ", longitude=" + longitude + "]";
	}
	
}
